-- desert_altar
-- created by panyl
-- 沙漠祭坛

return {
    doAction = function(action)
        local pos = action.pos;
        local data = action.data;
        local altarId = bit.brshift(data, 16);
        local optionId = bit.band(data, 0xffff);

        DesertAltarM.submit(altarId);
        return DesertAltarM.selectOption(altarId, optionId, pos);
    end,
};
